Function Types
pragma solidity 0.8.16;
interface IAxelarReceiver {
function execute(
bytes32 commandId,
string calldata sourceChain,
string calldata sourceAddress,
bytes calldata payload
) external;
}
Type 1: Used for swap()
Type 2: Used for addLiquidity()
Type 3: Used for the B->A portion of an A->B->A withdrawLocal()
Type 4: Used to initiate a withdrawLocal()